package com.example.logistics_oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.xinzi.JibenKaoqinhesuan;
import com.example.comment_oa.pojos.xinzi.JibenQitajine;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【jiben_qitajine】的数据库操作Mapper
* @createDate 2023-02-03 20:39:18
* @Entity com.example.logistics_oa.domain.JibenQitajine
*/
@Mapper
public interface JibenQitajineMapper extends BaseMapper<JibenQitajine> {

    public int insertQita(JibenQitajine jibenQitajine);

    public List<JibenQitajine> selectAllQita(@Param("jibenId")String jibenId );

    public int updateJIbenQiTaShiJianAndJine(@Param("zhujian")int zhujian,
                                             @Param("shijianjianshu")String shijianjianshu,@Param("jine") Double jine);

    public int insertQitaOnePerson(JibenQitajine jibenQitajine);

    public List<JibenQitajine> selectOnePerson(@Param("jibenId")String jibenId ,@Param("gonghao") String gonghao);

    public int updateQiTaOne(@Param("jibenzhujian") int jibenzhujian);

    public int updateQiTaAll(@Param("jibenId") String jibenId);

    public List<JibenQitajine> selectByIdAndSend  (@Param("jibenId") String jibenId , @Param("jibensend") int jibensend);

    public  List<JibenQitajine> selectOnePerson22(@Param("jibenId") String jibenId ,@Param("jibenGonghao") String jibenGonghao);
}




